local skynet = require "skynet"
local logd

local M = {} 

function M.log_system_activity(uid, event_type, event_value)
    skynet.send(logd, "lua", "log_system_activity", uid, event_type, event_value)
end 

function M.log_exp_change(uid, log_type, value)
    skynet.send(logd, "lua", "log_exp_change", uid, log_type, value)
end 

local function init()
    logd = skynet.uniqueservice("log")
end 

skynet.init(init)

return M 